//
//  UIButton+ImageTitleSpacing.h
//  THJXHW
//
//  Created by 河南德艺 on 2017/11/3.
//  Copyright © 2017年 河南德艺. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSUInteger, MKButtonEdgeInsetsStyle) {
    MKButtonEdgeInsetsStyleTop, // image在上，label在下
    MKButtonEdgeInsetsStyleLeft, // image在左，label在右
    MKButtonEdgeInsetsStyleBottom, // image在下，label在上
    MKButtonEdgeInsetsStyleRight // image在右，label在左
};
@interface UIButton (ImageTitleSpacing)
- (void)layoutButtonWithEdgeInsetsStyle:(MKButtonEdgeInsetsStyle)style
                        imageTitleSpace:(CGFloat)space;
- (void)sd_setButtonImageWithUrl:(NSString *)urlStr placeHolderImgWithName:(NSString*)name;
@end
